FROM nginx
#维护者信息
MAINTAINER zhouke

#将前端复制到nginx的前端下
RUN rm /etc/nginx/conf.d/default.conf
ADD default.conf /etc/nginx/conf.d/

COPY dist/ /usr/share/nginx/html/

#EXPOSE 80

#CMD ["nginx","-g","daemon off;"]
#构建docker镜像
#docker build -f Dockerfile -t zhouke0304/vue .